<template>
<div>
    <mt-swipe :auto="3000">
        <mt-swipe-item v-for="item in lunbolist" :key="item.id">
            <img :src="item.img" alt="">
        </mt-swipe-item>
    </mt-swipe>
    <ul class="mui-table-view mui-grid-view mui-grid-9">
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><router-link to="/index/news">
		                    <img src="../images/image1.png" alt="">
		                    <div class="mui-media-body">新闻资讯</div></router-link></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><router-link to="/index/imgshare">
		                    <img src="../images/image1.png" alt="">
		                    <div class="mui-media-body">图片分享</div></router-link></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><router-link to="/index/shopbuy">
		                    <img src="../images/image1.png" alt="">
		                    <div class="mui-media-body">商品购买</div></router-link></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><router-link to="/index/sayback">
		                    <img src="../images/image1.png" alt="">
		                    <div class="mui-media-body">留言反馈</div></router-link></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><router-link to="/index/videoarea">
		                    <img src="../images/image1.png" alt="">
		                    <div class="mui-media-body">视频专区</div></router-link></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><router-link to="/index/phoneus">
		                    <img src="../images/image1.png" alt="">
		                    <div class="mui-media-body">联系我们 </div></router-link></li>
		        </ul> 
</div>
</template>

<script>
    // import {Toast} from 'mint-ui'
    export default{
        data(){
            return {
                lunbolist:[{id:0,img:'http://iph.href.lu/879x200?text=%E5%8D%A0%E4%BD%8D%E5%9B%BE&bg=ccc'},
                {id:1,img:'http://iph.href.lu/879x200?text=%E5%8D%A0%E4%BD%8D%E5%9B%BE&bg=ccc'},
                {id:2,img:'http://iph.href.lu/879x200?text=%E5%8D%A0%E4%BD%8D%E5%9B%BE&bg=ccc'}
                ]
            }
        },
        methods:{
            getswipe(){
                console.log('没有api，所以就不使用resource了')
            }
        },
        created(){
            this.getswipe();
        }
    }
</script>

<style lang="less" scoped>
.mint-swipe{
    height: 200px;
    .mint-swipe-item{
        &:nth-child(1){
            background-color: red;
        }
        &:nth-child(2){
            background-color: blue;
        }
        &:nth-child(3){
            background-color: green;
        }
        img{
            width: 100%;
            height: 100%;
        }
    }
}
.mui-grid-view.mui-grid-9{
    background-color: #fff;
    border: none;
    img{
        border-radius: 30px;
        width: 60px;
        height: 60px;
    }
    .mui-table-view-cell{
        border: 0;
    }
}

</style>